package com.xh.model.response;

import com.xh.model.enums.MessageEnum;
import lombok.*;

/**
 * @author wen
 * @apiNote
 * @since 2021-07-08
 */
@Getter
@Setter
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class PosterDeleteResponse {

    private int code;

    private String msg;

    public static PosterDeleteResponse ok() {
        return PosterDeleteResponse.builder()
                .code(MessageEnum.SUCCESS.getCode())
                .msg(MessageEnum.SUCCESS.getMsg())
                .build();
    }

}
